package com.etc.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.Date;
@Component
@ToString
@Getter
@Setter
public class Showings {
    private Integer showing_no;
    private String showing_date;
    private Integer showing_seat;
    private Cinemas cinemas;
    private Integer cinema_no;
    private Movies movies;
    private Integer movie_no;


    public Showings() {
    }



    public Showings(Integer showing_no, String showing_date, Integer showing_seat, Cinemas cinemas, Movies movies) {
        this.showing_no = showing_no;
        this.showing_date = showing_date;
        this.showing_seat = showing_seat;
        this.cinemas = cinemas;
        this.movies = movies;
    }

    public Showings(String showing_date, Integer showing_seat, Integer cinema_no, Integer movie_no) {
        this.showing_date = showing_date;
        this.showing_seat = showing_seat;
        this.cinema_no = cinema_no;
        this.movie_no = movie_no;
    }
}